package com.java.demo;

import org.springframework.stereotype.Repository;


@Repository
public class RepositoryDemo {
    public UserDemo getUser() {
        UserDemo user = new UserDemo();
        user.setAge(18);
        user.setName("zhangSan");
        return user;
    }
}
